home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1999 July: Technology Seed / ADC Seed CD - July 1999.toast / Carbon SDK 1.0d10c3 / Sample Code / AppearanceSample / MegaDialog.h < prev    next >
Encoding:
C/C++ Source or Header  |  1999-05-01  |  1.3 KB  |  66 lines  |  [TEXT/CWIE]

  1. /*
  2.     File:        MegaDialog.h
  3.  
  4.     Contains:    Code to drive our MegaDialog example.
  5.  
  6.     Version:    Appearance 1.0 SDK
  7.  
  8.     Copyright:    © 1997, 1999 by Apple Computer, Inc., all rights reserved.
  9.  
  10.     File Ownership:
  11.  
  12.         DRI:                Edward Voas
  13.  
  14.         Other Contact:        7 of 9, Borg Collective
  15.  
  16.         Technology:            OS Technologies Group
  17.  
  18.     Writers:
  19.  
  20.         (jss)    Jeff Shulman
  21.         (edv)    Ed Voas
  22.  
  23.     Change History (most recent first):
  24.     $Log: MegaDialog.h,v $
  25.     Revision 1.4  1999/04/23 23:25:59  voas
  26.     [2296424] Use timers to control progress bar/caret blinking instead of
  27.     relying on WNE timeouts.
  28.     
  29.     Revision 1.3  1999/04/15 00:39:23  mattack
  30.     guyf edited the sources so they'd build on 8 and X while menu stuff was
  31.     in flux.
  32.     
  33.  
  34.        <1.2>      4/7/99    jss        Add help tag stuff
  35.          <1>     9/11/97    edv        First checked in.
  36. */
  37.  
  38. #pragma once
  39.  
  40. #include "BaseDialog.h"
  41. #include "MegaPane.h"
  42.  
  43. #include <MacHelp.h>
  44.  
  45. class MegaDialog : public BaseDialog
  46. {
  47.     public:
  48.             MegaDialog();
  49.         virtual ~MegaDialog();
  50.             
  51.         static pascal OSStatus HelpContentProvider(ControlRef inControl, Point inGlobalMouse, HMContentRequest inRequest, HMContentProvidedType *outContentProvided, HMHelpContentPtr ioHelpContent);
  52.     
  53.     protected:
  54.         virtual void        HandleItemHit( SInt16 item );        
  55.  
  56.     private:
  57.         void        SwitchPane( SInt16 paneIndex );
  58.         
  59.         MegaPane*    fPane;
  60.  
  61. #if BUILDING_FOR_CARBON_8        
  62.         HMControlContentUPP        fHelpContentProviderUPP;
  63. #endif
  64. };
  65.  
  66.